/**
 * com.cnhis.his.customer.mapper.Aci1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Aci1.java
 * @author 刘武
 * @version 0.1
 * @todo	Aci1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-28 11:43:23
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Aci1 extends BaseVO implements java.io.Serializable{

	private java.lang.String aci01;
	private java.lang.String aci02;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.String aci05;
	private java.lang.Byte isdef;
	public Aci1(){
	}

	public Aci1(
		java.lang.String aci01
	){
		this.aci01 = aci01;
	}



	public void setAci01(java.lang.String value) {
		this.aci01 = value;
	}	
	public java.lang.String getAci01() {
		return this.aci01;
	}

	public void setAci02(java.lang.String value) {
		this.aci02 = value;
	}	
	public java.lang.String getAci02() {
		return this.aci02;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setAci05(java.lang.String value) {
		this.aci05 = value;
	}	
	public java.lang.String getAci05() {
		return this.aci05;
	}

	public void setIsdef(java.lang.Byte value) {
		this.isdef = value;
	}	
	public java.lang.Byte getIsdef() {
		return this.isdef;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Aci01").append("='").append(getAci01()).append("' ");	
			   buffer.append("Aci02").append("='").append(getAci02()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Aci05").append("='").append(getAci05()).append("' ");	
			   buffer.append("Isdef").append("='").append(getIsdef()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Aci1) ) return false;
		 Aci1  castOther = ( Aci1) other;  
		 return 
					( (this.getAci01()==castOther.getAci01()) ||( this.getAci01()!=null && castOther.getAci01()!=null && this.getAci01().equals(castOther.getAci01()) ) )
					&&( (this.getAci02()==castOther.getAci02()) ||( this.getAci02()!=null && castOther.getAci02()!=null && this.getAci02().equals(castOther.getAci02()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getAci05()==castOther.getAci05()) ||( this.getAci05()!=null && castOther.getAci05()!=null && this.getAci05().equals(castOther.getAci05()) ) )
					&&( (this.getIsdef()==castOther.getIsdef()) ||( this.getIsdef()!=null && castOther.getIsdef()!=null && this.getIsdef().equals(castOther.getIsdef()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAci01() == null ? 0 : this.getAci01().hashCode() );
				  result = 37 * result + (getAci02() == null ? 0 : this.getAci02().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getAci05() == null ? 0 : this.getAci05().hashCode() );
				  result = 37 * result + (getIsdef() == null ? 0 : this.getIsdef().hashCode() );
         return result;
	} 
	
}
